import Katex from './katex/katex.mjs'

function MathStringToHTML(content) {
    return new Promise((resovle, reject) => {
        const _html = Katex.renderToString(content, {
            throwOnError: false
        });
        resovle(_html);
    });
}

export default {MathStringToHTML}

